Saltar al contenido principal
GET
/
public
/
v1
/
segment-service
/
segments
/
{segment-id}
/
signed-url
[BETA] Get upload users signed url for a segment.
curl --request GET \
  --url https://api.topsort.com/public/v1/segment-service/segments/{segment-id}/signed-url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

A valid API key generated in Topsort's UI.

Parámetros de ruta

segment-id
string
requerido

The ID of the segment.

Parámetros de consulta

action
enum<string>
predeterminado:add

The action to perform on the segment. Possible values are 'add', 'remove', or 'replace'. The 'replace' action will first remove all existing users from the segment before adding the new ones.

Opciones disponibles:
add,
remove,
replace

Respuesta

Successful Response

url
string<uri>
requerido

The presigned URL.

Required string length: 1 - 2083